package com.itheima.chapter10.producerconsumer;
//生产者消费者模式
public class Demo {
    public static void main(String[] args) {
        Producer p =new Producer();
        Consumer c =new Consumer();
        p.start();
        c.start();
    }
}
